package com.situ.day6;

public class Point {

	private int x;
	private int y;

	public Point() {

	}

	public Point(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public void movePoint(int dx, int dy) {
		this.x += dx;
		this.y += dy;
		System.out.println("最新坐标为：(" + x + "," + y + ")");
	}


}
